package com.yuting.model;

import java.io.Serializable;

/**
 * 这个类是管理员登录之后对考题进行管理的信息类
 * @author cyt
 * @date 2020/7/2
 */
public class QuestionMessage implements Serializable {
    private static final long serialVersionUID = 6667183907877719515L;

    private String type;

    public QuestionMessage(String type, Question question) {
        this.type = type;
        this.question = question;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return "QuestionMessage{" +
                "type='" + type + '\'' +
                ", question=" + question +
                '}';
    }

    public void setType(String type) {
        this.type = type;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    private Question question;
}
